package com.slowly.action;
import com.jfinal.core.Controller;
import com.jfinal.kit.PropKit;
import com.slowly.model.SlowUserStamp;
import org.beetl.core.misc.BeetlUtil;

public class IndexController extends Controller {
	public void index() {
		setAttr("hello", "hello world !!! 3.0 JFinal ...");

		System.out.printf("test 123456");

		render("index.html");

	}
	
	public void qr(){
		renderQrCode("123456", 150, 150);
	}
	
	
	public void test(){
		renderJson(new SlowUserStamp().dao().find("select * from slow_user_stamp"));
		
		//renderJson(new java.util.Date());
		
	}
}
